import Borrow from './Borrow'
import BorrowCurrent from './BorrowCurrent'
import BorrowHistory from './BorrowHistory'
import Qrcode from './Qrcode'
import Reservations from './Reservations'

export default [{
  path: '/borrow',
  name: 'borrow',
  component: Borrow,
  children: [
    {
      path: 'current',
      name: 'borrowCurrent',
      component: BorrowCurrent,
      meta: {
        title: '我的借阅'
      }
    },
    {
      path: 'history',
      name: 'borrowHistory',
      component: BorrowHistory,
      meta: {
        title: '我的借阅'
      }
    }
  ]
}, {
  path: '/qrcode',
  name: 'qrcode',
  component: Qrcode,
  meta: {
    title: '扫码借还书'
  }
}, {
  path: '/reservations',
  name: 'reservations',
  component: Reservations,
  meta: {
    title: '预约查询'
  }
}]
